package com.wq.api.service.order;

import org.mengyun.tcctransaction.api.Compensable;
import org.mengyun.tcctransaction.api.TransactionContext;
import org.mengyun.tcctransaction.api.UniqueIdentity;
import org.springframework.transaction.annotation.Transactional;

import java.math.BigDecimal;
import java.net.SocketTimeoutException;

public interface PaymentService {

    @Compensable
    @Transactional
    void makePayment(String orderNo, BigDecimal redPacketPayAmount, BigDecimal capitalPayAmount);

}
